import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class NumberTwo {
    public static void main(String[] args) {
        Properties properties=new Properties();
        try (
                FileReader fileReader=new FileReader("dome4_1/src/iphone.properties")
                ){
            properties.load(fileReader);
            properties.forEach((k,v)->{
                System.out.println(k+":"+v);
            });
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
